package ooday05;

/**
 * 说明:
 *
 * @author:SuZhongHe
 * @date:2023/2/27
 **/
public class EnumDemo {
    public static void main(String[] args) {
        Season s = Season.SPRING;
        System.out.println(s.getSeasonName());
        Season[] ss = Season.values();
        for (int i = 0; i < ss.length; i++) {
            System.out.println(ss[i]);
            System.out.println(ss[i].getSeasonName());
            System.out.println(ss[i].getSeasonDesc());
        }
    }
}
